<pre class="docs-method-signature"><code>paper.matrix([SVGMatrix])</code></pre>
<p>When called with no parameter, the method returns the current transformation matrix (instance of <a href="https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix" target="_blank">SVGMatrix</a>) of the paper. It sets the new viewport transformation based on the <code>SVGMatrix</code> otherwise.</p>

<pre><code>paper.matrix({ a: 2, b: 0, c: 0, d: 2, e: 0, f: 0 }); // scale the paper twice</code></pre>
